package com.lingxu.module.earlyWarn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingxu.module.collaborative.entity.Collaborative;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: 协同上传
 * @Author: jfx
 * @Date:   2024-04-10
 * @Version: V1.0.1
 */
@Mapper
public interface CockpitMapper extends BaseMapper<Collaborative> {

    Map<String, String> warningSituation(@Param("region") String region);

    List<Map<String, String>> warningFieldDistribution(@Param("region") String region);

    List<Map<String, String>> warningAreaDistribution(String region);

    List<Map<String, String>> highFrequencyIssues(String region);

    List<Map<String, String>> findModelIssueList(String region);

    List<Map<String, String>> getCityList();

    List<Map<String, String>> modelTypeDistribution(String year);

    List<Map<String, String>> modelAreaDistribution(String year);

    List<Map<String, String>> timeTrend(String year);

    List<Map<String, String>> modelfieldDistribution(String year);

    List<Map<String, String>> modelList(String year);

    List<Map<String, String>> realTimeWarning(String year);

    List<Map<String, String>> townshipRanking(String year);

    List<Map<String, String>> compareCounts(String year, String month);

    Map<String, String> listenResults(String region);

    List<Map<String, String>> findYbsList(String region);
}
